package com.example.redis.bit.domain.init;

import cn.hutool.core.date.DateUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

public class BitMapDataInit extends AbsDataInit implements Runnable {

    private final Logger log = LoggerFactory.getLogger(getClass());

    @Override
    public void run() {
        Date startDate = DateUtil.parse("2019-01-01");
        Date endDate = DateUtil.parse("2019-01-05");
        initBitData("lua/initData4BitMap.lua",startDate,endDate);
        log.info("init data finished");
    }
}
